package com.wx.nchu_mall.model;

import java.util.Date;

public class Cart {
    private Integer carId;      //购物车编号
    private Integer cusId;      //用户编码
    private Integer commId;      //商品编码
    private Integer quantity;    //数量
    private Integer checked;     //是否选择  1  勾选  0未勾选
    private Date    createTime;   //创建时间
    private Date    updateTime;   //更新时间
    private String  flag;

    private String commImage ;    //商品照片
    private Integer commTotal;    //商品库存
    private String commName;      //商品名称
    private float commPrice;      //商品价格
    private Integer commTypeId;   //商品分类

    public Integer getCommTypeId() {
        return commTypeId;
    }

    public void setCommTypeId(Integer commTypeId) {
        this.commTypeId = commTypeId;
    }

    public float getCommPrice() {
        return commPrice;
    }

    public void setCommPrice(float commPrice) {
        this.commPrice = commPrice;
    }

    public String getCommImage() {
        return commImage;
    }

    public void setCommImage(String commImage) {
        this.commImage = commImage;
    }

    public Integer getCommTotal() {
        return commTotal;
    }

    public void setCommTotal(Integer commTotal) {
        this.commTotal = commTotal;
    }

    public String getCommName() {
        return commName;
    }

    public void setCommName(String commName) {
        this.commName = commName;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getCusId() {
        return cusId;
    }

    public void setCusId(Integer cusId) {
        this.cusId = cusId;
    }

    public Integer getCommId() {
        return commId;
    }

    public void setCommId(Integer commId) {
        this.commId = commId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Integer getChecked() {
        return checked;
    }

    public void setChecked(Integer checked) {
        this.checked = checked;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }
}
